import { ElButton, ElForm, ElCol, ElRow, ElDialog } from "element-plus";
import "element-plus/lib/theme-chalk/index.css";
import { App } from "vue";
import _Row from "element-plus/lib/el-row";

const components = [ElButton, ElForm, ElCol, ElDialog, ElRow];

export const registerElement = (app: App<Element>) => {
  for (const component of components) {
    app.component(component.name, component);
  }
};
